<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post">
    {% csrf_token %}
    题目: <input type="text" name="title" value="{{ geng.title }}">
    <br>
    <select name="Qtype" id="">
        <option value="0">填空题</option>
        <option value="1">单选题</option>
        <option value="2">简答题</option>
        <option value="3">作文题</option>
    </select>
    <br>
    A:<input type="text" name="option1" value="{{ geng.option1 }}">
    <br>
    B:<input type="text" name="option2" value="{{ geng.option2 }}">
    <br>
    C:<input type="text" name="option3" value="{{ geng.option3 }}">
    <br>
    D:<input type="text" name="option4" value="{{ geng.option4 }}">
    <br>
    答案: <textarea name="answer"  cols="30" rows="10" >{{ geng.answer }}</textarea>
    <br>
    <input type="submit" value="更改">
    <br>
</form>
</body>
</html>